package com.cgwx.service;

import com.cgwx.entity.File;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public interface IFileService {
    List<File> getAllFile();

    List<File> getFile(File file);

    List<File> OpenPersonal(String account, String entityId);

    List<String> OpenPersonalFavorites(String entityId, String account);

    String deleteFileById(String entityId);

    String updateFileById(File file);

    String insertFile(String account, String name, String entityId, String roomId, String parentId, String fileId, String fileName, String fileUrl, float fileSize);

    String generateEntityId();
}
